package com.lxj.mapper;

import com.lxj.domain.GroupMember;
import com.lxj.domain.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
public interface UserMapper {
    List<User> findAll(User user);

    int delete(Integer[] id);

    int edit(User user);

    User findById(Integer id);

    int getCount();

    List<User> findNoGroupUser();

    int selectUserId(String s);

    int deleteGroup(Integer id);

    int updateGroup(GroupMember groupMember);

    int judgeUsername(User user);

    int judgePassword(User user);

    User judgeState(User user);

    User findByUserName(User user);

    int editPassword(User user);

    int inspect(User user);
}
